package cn.topcodes.tcsf.wechat.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;
import javax.persistence.Table;
import java.util.Date;

/**
 * 微信菜单
 * @author unicorn
 * @date 2017-08-15 19:18:38
 */
@Data
@Table(name="t_wechat_menu")
public class WechatMenu extends IdEntity {
	
	public static final String FIELD_NAME = "name";

	public static final String FIELD_MENU_KEY = "menuKey";

	public static final String FIELD_TYPE = "type";

	public static final String FIELD_URL = "url";

	public static final String FIELD_MEDIA_ID = "mediaId";

	public static final String FIELD_PARENT_ID = "parentId";

	public static final String FIELD_WECHAT_MP_ID = "wechatMpId";

	/**
	 * 菜单名称
	 */
	private String name;

	/**
	 * 菜单KEY
	 */
	private String menuKey;

	/**
	 * 菜单类型
	 */
	private String type;

	/**
	 * 菜单地址
	 */
	private String url;

	/**
	 * 素材ID
	 */
	private String mediaId;

	/**
	 * 父级菜单ID
	 */
	private Long parentId;

	/**
	 * 公众号id
	 */
	private Long wechatMpId;
}